package com.example.springboot27.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 项目名称：springboot27
 * 类 名 称：HelloController
 * 类 描 述：TODO
 * 创建时间：2020/2/7 9:39 下午
 * 创 建 人：jacksonmike
 */
@Controller
public class HelloController {

    @GetMapping("/abc")
    public String hello(Model model) {
        model.addAttribute("name", "Jack");
        return "success";
    }
}
